package com.fz.song.pojo;

import java.util.ArrayList;
import java.util.List;

public class SysResource {

    private Integer sysid;

    private String url;

    private String sysResourceName;

    private String type;

    private String icon;

    private Integer pid;

    private String createtime;

    private String updatetime;

    private Integer sort;

    private List<SysResource> childs=new ArrayList<SysResource>();

    private  boolean ishave;

    public boolean isIshave() {
        return ishave;
    }

    public void setIshave(boolean ishave) {
        this.ishave = ishave;
    }

    public Integer getSysid() {
        return sysid;
    }

    public void setSysid(Integer sysid) {
        this.sysid = sysid;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getSysResourceName() {
        return sysResourceName;
    }

    public void setSysResourceName(String sysResourceName) {
        this.sysResourceName = sysResourceName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime == null ? null : createtime.trim();
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime == null ? null : updatetime.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public List<SysResource> getChilds() {
        return childs;
    }

    public void setChilds(List<SysResource> childs) {
        this.childs = childs;
    }
}